package com.dmlll.common;

/**
 * 
 */
public interface Constant {
    Integer USER_TYPE_SUPER = 0;//超级管理员
    String SUCCESS = "登录成功";
    Integer OK = 200;//成功状态码
    Integer ERROR = -1;//失败状态码

    String PWD_ERROR = "密码错误";
    String ACC_ERROR = "账户不存在";
    String CODE_ERROR = "验证码错误";
    String ADD_SUCCESS = "添加成功";
    String ADD_ERROR = "添加失败";
    String UPDATE_SUCCESS = "修改成功";
    String UPDATE_ERROR = "修改失败";
    String DELETE_SUCCESS = "删除成功";
    String DELETE_ERROR = "删除失败";
    //采购状态
    Integer PURCHASE_STATE_ONE = 1;//未确认送货
    Integer PURCHASE_STATE_TWO = 2;//已发货
    Integer PURCHASE_STATE_THREE = 3;//已入库
    Integer PURCHASE_STATE_FOUR = 4;//无法供货
    Integer PURCHASE_STATE_FIVE = 5;//到期未供货

    String INPUT_ERROR = "入库失败";
    String INPUT_SUCCESS = "入库成功";
    String DELETE_HAVE_CATALOG = "删除失败，含有供货目录";
    String DELETE_HAVE_PURCHASE = "删除失败，含有采购单";
    String ADD_ERROR_HAVE = "添加失败，药品信息已存在";
}
